package net.oktaeder.office.model;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory; 

public class Model {

	private static Log log = LogFactory.getLog(Model.class);
	private static Model instance;
	
	private Company company;
		
	private Model() {
		log.trace("Creating an instance");
		company = new Company();
	}
	
	public static synchronized Model getInstance() {
		if (instance==null) {			
			instance = new Model();
		}
		return instance;
	}

	public Company getCompany() {
		return company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}
	
}
